package com.violet.myorm.core.combination;

import com.violet.myorm.core.condition.LambdaWhere;
import com.violet.myorm.core.condition.SerializableFunction;

public interface UpdateCombination<E, R extends UpdateCombination<E, ?>>
    extends
        Combination<LambdaWhere<E>, R>
{

    <T> R set(SerializableFunction<E, ?> function, T value);

    R set(String fieldName, Object value);

    int executeUpdate();

}
